﻿using System;

namespace _3D_FileExplorer
{
    static class Program
    {
        public static Fe game;

        [STAThread]
        static void Main(string[] args)
        {
            MainForm form = new MainForm();
            form.Disposed += new EventHandler(form_Disposed);
            using (game = new Fe(form,form.GetCanvas(),form.MenuStrip))
            {
                form.Show();
                form.TopMost = true;
                game.Run();
            }
        }

        static void form_Disposed(object sender, EventArgs e)
        {
            game.Exit();
        }
    }
}

